package ui.activity.wallet.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.wallet.biz.RewardsDetailsOtherBiz;
import ui.activity.wallet.contract.RewardsDetailsOtherContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class RewardsDetailsOtherModule {
    private RewardsDetailsOtherContract.View view;

    public RewardsDetailsOtherModule(RewardsDetailsOtherContract.View view) {
        this.view = view;
    }

    @Provides
    public RewardsDetailsOtherContract.View provideView() {
        return view;
    }

    @Provides
    public RewardsDetailsOtherBiz provideBiz() {
        return new RewardsDetailsOtherBiz();
    }
}